package com.hoas.quickstart.threads.chapter03.chapter03_2_1;

public class MyThread extends Thread {

    @Override
    public void run() {
        try {
            int secondValue = (int)(Math.random() * 10000);
            Thread.sleep( secondValue);
            System.out.println(secondValue);

        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
